/**
 * Copyright (c) 2013-2015, Jieven. All rights reserved.
 *
 * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt
 * To use it on other terms please contact us at 1623736450@qq.com
 */
package com.eova.model;

import java.util.List;

import com.eova.common.base.BaseModel;

public class Channel extends BaseModel<Channel> {

	private static final long serialVersionUID = 1703948363920508492L;
	
	public static final Channel dao = new Channel();
	
	public List<Channel> queryHeadChannelLimit6() {
		return dao.queryByCache("select * from eova_channel where showType != '1' order by `order` asc limit 6 ");
	}
	
	public List<Channel> queryBottomChannelLimit5() {
		return dao.queryByCache("select * from eova_channel where showType != '0' order by `order` asc limit 5 ");
	}
}